package com.learn.base;

import java.util.EnumMap;
import java.util.Map;

enum Color {GREEN,RED,BLUE}
public class EnumDemo {
    private static void printName(Color color) {
        switch (color) {
            case BLUE:
                System.out.println("蓝色");
                break;
        }
    }

    public static void main(String[] args) {
        //printName(Color.BLUE);
        Map<Color,Integer> enumMap = new EnumMap<>(Color.class);



    }
}
